package com.team.sns.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class MsgInfo implements Serializable{
	
	private Integer id;

	private Integer userId;
	
	
	private String content;
	
	private Integer type;
	
	private Integer commited_count;
	
	private Integer commit_count;
	
	private Integer transfered_count;
	
	private Integer transfer_count;
	
	private String createTime;

	@Column(columnDefinition = "DATE")
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Column
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	@Column(length = 500)
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	@Column(length = 1)
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCommited_count() {
		return commited_count;
	}

	public void setCommited_count(Integer commitedCount) {
		commited_count = commitedCount;
	}

	public Integer getCommit_count() {
		return commit_count;
	}

	public void setCommit_count(Integer commitCount) {
		commit_count = commitCount;
	}

	public Integer getTransfered_count() {
		return transfered_count;
	}

	public void setTransfered_count(Integer transferedCount) {
		transfered_count = transferedCount;
	}

	public Integer getTransfer_count() {
		return transfer_count;
	}

	public void setTransfer_count(Integer transferCount) {
		transfer_count = transferCount;
	}
	
	
	
	
}
